package xyz.cerberu.cet.log.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xyz.cerberu.cet.log.doamin.Log;

import java.util.List;

/**
 * @author β世界
 * Created on 18:02
 * @Description 日志类数据库的dao接口
 */
@Mapper
public interface LogDao {
    List<Log> findByType(String type, int startLine, int endLine);

    int addLog(@Param("log") Log log);
}
